<?php
/**
 * Msg.php		
 *
 * @package		
 * @Copyright	(c) All rights reserved
 * @Author		skyCrack <skyCrack@126.com>
 * @Version		$Id$
 */

class Msg
{
	private static $_buff	=	array();
	
	public function __construct()
	{
	}
	
	public final static function add($msg)
	{
		self::$_buff[]	=	$msg;
	}
	
	public final static function get()
	{
		return self::$_buff;
	}
	
	public final static function cls()
	{
		unset(self::$_buff);
		self::$_buff	=	array();
	}
}
?>